package com.syj.collect.entry;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class OcrBean implements Serializable {

    /**
     * words_result : [{"vertexes_location":[{"x":17,"y":13},{"x":561,"y":13},{"x":561,"y":134},{"x":17,"y":134}],"words":"暖宫七味散","min_finegrained_vertexes_location":[{"x":17,"y":13},{"x":560,"y":13},{"x":560,"y":133},{"x":17,"y":133}],"location":{"top":13,"left":17,"width":548,"height":125},"finegrained_vertexes_location":[{"x":17,"y":13},{"x":143,"y":13},{"x":269,"y":13},{"x":396,"y":13},{"x":522,"y":13},{"x":561,"y":13},{"x":561,"y":76},{"x":561,"y":134},{"x":435,"y":134},{"x":309,"y":134},{"x":183,"y":134},{"x":56,"y":134},{"x":17,"y":134},{"x":17,"y":71}],"chars":[{"char":"暖","location":{"top":13,"left":54,"width":101,"height":125}},{"char":"宫","location":{"top":13,"left":169,"width":101,"height":125}},{"char":"七","location":{"top":13,"left":283,"width":69,"height":125}},{"char":"味","location":{"top":13,"left":361,"width":99,"height":125}},{"char":"散","location":{"top":13,"left":474,"width":91,"height":125}}]}]
     * log_id : 1373532042553196544
     * words_result_num : 1
     * direction : 0
     */

    private long log_id;
    private int words_result_num;
    private int direction;
    private List<WordsResultBean> words_result;

    public long getLog_id() {
        return log_id;
    }

    public void setLog_id(long log_id) {
        this.log_id = log_id;
    }

    public int getWords_result_num() {
        return words_result_num;
    }

    public void setWords_result_num(int words_result_num) {
        this.words_result_num = words_result_num;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public List<WordsResultBean> getWords_result() {
        return words_result;
    }

    public void setWords_result(List<WordsResultBean> words_result) {
        this.words_result = words_result;
    }

    public static class WordsResultBean implements Serializable {
        /**
         * vertexes_location : [{"x":17,"y":13},{"x":561,"y":13},{"x":561,"y":134},{"x":17,"y":134}]
         * words : 暖宫七味散
         * min_finegrained_vertexes_location : [{"x":17,"y":13},{"x":560,"y":13},{"x":560,"y":133},{"x":17,"y":133}]
         * location : {"top":13,"left":17,"width":548,"height":125}
         * finegrained_vertexes_location : [{"x":17,"y":13},{"x":143,"y":13},{"x":269,"y":13},{"x":396,"y":13},{"x":522,"y":13},{"x":561,"y":13},{"x":561,"y":76},{"x":561,"y":134},{"x":435,"y":134},{"x":309,"y":134},{"x":183,"y":134},{"x":56,"y":134},{"x":17,"y":134},{"x":17,"y":71}]
         * chars : [{"char":"暖","location":{"top":13,"left":54,"width":101,"height":125}},{"char":"宫","location":{"top":13,"left":169,"width":101,"height":125}},{"char":"七","location":{"top":13,"left":283,"width":69,"height":125}},{"char":"味","location":{"top":13,"left":361,"width":99,"height":125}},{"char":"散","location":{"top":13,"left":474,"width":91,"height":125}}]
         */

        private String words;
        private Object location;
        private Object vertexes_location;
        private Object min_finegrained_vertexes_location;
        private Object finegrained_vertexes_location;
        private Object chars;

        public String getWords() {
            return words;
        }

        public void setWords(String words) {
            this.words = words;
        }

        public Object getLocation() {
            return location;
        }

        public void setLocation(Object location) {
            this.location = location;
        }

        public Object getVertexes_location() {
            return vertexes_location;
        }

        public void setVertexes_location(Object vertexes_location) {
            this.vertexes_location = vertexes_location;
        }

        public Object getMin_finegrained_vertexes_location() {
            return min_finegrained_vertexes_location;
        }

        public void setMin_finegrained_vertexes_location(Object min_finegrained_vertexes_location) {
            this.min_finegrained_vertexes_location = min_finegrained_vertexes_location;
        }

        public Object getFinegrained_vertexes_location() {
            return finegrained_vertexes_location;
        }

        public void setFinegrained_vertexes_location(Object finegrained_vertexes_location) {
            this.finegrained_vertexes_location = finegrained_vertexes_location;
        }

        public Object getChars() {
            return chars;
        }

        public void setChars(Object chars) {
            this.chars = chars;
        }
    }
}
